import * as types from './mutation-types';
/**
 * 改变轮询状态
 * @param commit
 * @param flag
 */
export const changePolling = ({ commit }, flag) => {
    commit(types.CHANGE_POLLING, flag);
};
/**
 * 获取入口地址URL
 * @param commit
 * @param data
 */
export const setEntryUrl = ({ commit }, data) => {
    commit(types.SET_URL, data);
};
/**
 * 改变付款状态
 * @param commit
 * @param flag
 */
export const changePayStatus = ({ commit }, flag) => {
    commit(types.CHANGE_PAYSTATUS, flag);
};